package cn.tth.test.game.db.mapper;

import cn.tth.test.game.annotations.Mapper;
import cn.tth.test.game.annotations.Sql;
import cn.tth.test.game.db.dao.AttributeDao;
import cn.tth.test.game.mysql.IMapper;

@Mapper
public interface IAttributeMapper extends IMapper<AttributeDao> {

    @Sql(sql = "select * from attribute where roleId = ${role}")
    AttributeDao getByRoleId(Long role);
}
